NMGR\Lib\Order D

Total Complexity 158
Dependencies 1
Dependents 1
Total lines 819
Lines of code 502
Logical lines of code 274
Comment lines 216
Methods 26
Properties 0

Methods 26

Method Rating Maintainability Complexity Lines of code
format_item_data()
A
47 13 34
update_wishlist_item_purchased_quantity()
A
44 12 42
get_posted_variations()
A
45 12 40
add_to_cart_response()
A
49 12 29
add_to_cart()
A
48 10 30
validate_wishlist_item_cart_quantity()
A
48 8 34
show_wishlist_item_cart_item_data()
A
50 8 28
notify_if_cart_has_wishlist()
A
53 8 24
add_meta_data()
A
52 8 24
show_custom_order_notice()
S
59 8 11
process_wishlist_item_payment()
S
53 6 22
check_cart_items_for_shipping_address()
S
54 6 19
get_wishlists_in_cart()
S
58 6 14
maybe_add_item_to_cart()
S
59 5 14
get_wishlist_ids()
S
61 5 12
add_to_cart_from_product_page()
S
49 3 36
is_cart_shipping_to_wishlist_address()
S
63 5 9
get_order_item_ids_for_wishlist()
S
63 4 11
show_custom_order_notice_in_email()
S
68 4 6
set_maximum_cart_qty()
S
66 3 8
maybe_update_cart_item_quantity()
S
65 3 8
add_order_item_meta()
S
64 3 10
run()
S
53 1 21
get_posted_wishlist_items_to_add_to_cart()
S
69 2 6
get_meta()
S
67 2 7
process_payment_for_deleted_refunds()
S
80 1 3